package jfoo;


import java.awt.BorderLayout;

import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.table.JTableHeader;

import jfoo.detailsTable.DetailsTable;


/**
 *
 * @author Administrateur
 */
public class VueDetail extends JPanel{
    
    DetailsTable leTableDetail;
    
    public VueDetail(DetailsTable leTableDetail) {
        this.leTableDetail = leTableDetail;
        setLayout(new BorderLayout());
        
        
        
        
        JTableHeader leHaut = leTableDetail.getTableHeader();
        add(leHaut,BorderLayout.NORTH);
        
        JScrollPane leScrollPane = new JScrollPane(leTableDetail);
        add(leScrollPane,BorderLayout.CENTER);
    }
    
}
